package com.runa.monitor.platinterface.extend.third.newester.vo;

import com.runa.monitor.platinterface.extend.third.newester.validator.Date;
import org.apache.pulsar.shade.io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @Author: lyd
 * @Description:
 * @Date: 2021/11/3 10:18
 * @Version: 1.0
 */
public class HouseMeterDockingDetailVo {

    @NotBlank
    @Size(max = 15)
    @ApiModelProperty(value = "编号")
    private String meterSerialNo;

    @ApiModelProperty(value = "所属的集中器（网络设备）编号")
    @Size(max = 15)
    private String netEquSerialNo;

    @ApiModelProperty(value = "0：抄通 1：未抄通")
    @NotBlank
    @Size(max = 1)
    private String state;

    @ApiModelProperty(value = "失败原因")
    @Size(max = 20)
    private String reason;

    @NotBlank
    @Date(datePattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "任务时间：yyyy-MM-dd HH:mm:ss")
    private String planTime;

    @ApiModelProperty(value = "读取时间：yyyy-MM-dd HH:mm:ss")
    @Date(datePattern = "yyyy-MM-dd HH:mm:ss")
    private String readTime;

    @ApiModelProperty(value = "设备时间：yyyy-MM-dd HH:mm:ss")
    @Date(datePattern = "yyyy-MM-dd HH:mm:ss")
    private String equTime;

    @ApiModelProperty(value = "瞬时流量")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal flow;

    @ApiModelProperty(value = "瞬时热量")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal heat;

    @ApiModelProperty(value = "累积流量")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal accFlow;

    @ApiModelProperty(value = "累积热量")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal accHeat;

    @Digits(integer = 3, fraction = 2)
    private BigDecimal supplyTemperature;

    @Digits(integer = 3, fraction = 2)
    private BigDecimal returnTemperature;

    @ApiModelProperty(value = "工作时间")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal workTime;

    @ApiModelProperty(value = "电池电量")
    @Digits(integer = 10, fraction = 2)
    private BigDecimal battery;


    @ApiModelProperty(value = "状态码")
    @Size(max = 4)
    private String stateCode;

    public String getMeterSerialNo() {
        return meterSerialNo;
    }

    public void setMeterSerialNo(String meterSerialNo) {
        this.meterSerialNo = meterSerialNo;
    }

    public String getNetEquSerialNo() {
        return netEquSerialNo;
    }

    public void setNetEquSerialNo(String netEquSerialNo) {
        this.netEquSerialNo = netEquSerialNo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getPlanTime() {
        return planTime;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public String getReadTime() {
        return readTime;
    }

    public void setReadTime(String readTime) {
        this.readTime = readTime;
    }

    public String getEquTime() {
        return equTime;
    }

    public void setEquTime(String equTime) {
        this.equTime = equTime;
    }

    public BigDecimal getFlow() {
        return flow;
    }

    public void setFlow(BigDecimal flow) {
        this.flow = flow;
    }

    public BigDecimal getHeat() {
        return heat;
    }

    public void setHeat(BigDecimal heat) {
        this.heat = heat;
    }

    public BigDecimal getAccFlow() {
        return accFlow;
    }

    public void setAccFlow(BigDecimal accFlow) {
        this.accFlow = accFlow;
    }

    public BigDecimal getAccHeat() {
        return accHeat;
    }

    public void setAccHeat(BigDecimal accHeat) {
        this.accHeat = accHeat;
    }

    public BigDecimal getSupplyTemperature() {
        return supplyTemperature;
    }

    public void setSupplyTemperature(BigDecimal supplyTemperature) {
        this.supplyTemperature = supplyTemperature;
    }

    public BigDecimal getReturnTemperature() {
        return returnTemperature;
    }

    public void setReturnTemperature(BigDecimal returnTemperature) {
        this.returnTemperature = returnTemperature;
    }

    public BigDecimal getWorkTime() {
        return workTime;
    }

    public void setWorkTime(BigDecimal workTime) {
        this.workTime = workTime;
    }

    public BigDecimal getBattery() {
        return battery;
    }

    public void setBattery(BigDecimal battery) {
        this.battery = battery;
    }

    public String getStateCode() {
        return stateCode;
    }

    public void setStateCode(String stateCode) {
        this.stateCode = stateCode;
    }
}
